package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 合同库存数据 实体类，用于销售出库调入、直发出库调入等功能
 * @author DH-lwl
 * @version 2019年12月17日
 */
public class StockOnForBargainIn extends BaseBusinessEntity {

	private static final long serialVersionUID = 1L;
	
	private Double gPrice;	//成本价
	private Double fPrice;	//实际进价
	private String kcCid;	//库存公司编码
	private String pcid;	//采购公司编码
    private String gDepot;	//存货仓库编码
    private String htGuid;	//销售合同GUID
    private String htBid;	//销售合同单号
    private String cgGuid;	//采购合同GUID
    private String cgBid;	//采购合同单号
    private String gcGuid;	//工程任务GUID
    private String gcBid;	//工程任务单号
    private String rkGuid;	//入库GUID
    private String rkBid;	//入库单号
    private String vKcLx;	//库存类型编码
    private String pUser;	//采购员工号
    private String pDept;	//采购部门路径
    private String gProvider;//供应商编号
    private String gPName;	//供应商名称
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDbRq;		//调拨日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDhRq;		//订货日期
    private String vKhHth;	//客户合同号
    private String vDdh;	//订单号
    private String bPID;	//客户BPID
    private String vAddress;//客户地址
    private String vMan;	//收货人
    private String vFax;	//收货人传真
    private String vTel;	//收货人电话
    private String vAddressM; 	//收货人地址
    private String vFkBz;	//付款备注
    private String vWlBz;	//物流备注
    private String vXsLx;	//销售类型编码
    private String vFkFs;	//付款方式编码
    private String vFhFs;	//发货方式编码
    private String vFhWl;	//发货物流编码
    private String vHyDh;	//货运单号
    private Double fHyJe;	//货运金额
    private Double fHySl;	//货运件数
    private Double fHyZl;	//货运重量
    private Double fHyTj;	//货运体积
    private String vKcSm;	//库存说明
    private String vHJ;		//货架
    private String vRaZd;	//RA主导
    private String vRaXth;	//RA系统号
    private String vRaXs;	//RA销售
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dHthq;		//合同货期
    private String vHthq; //合同货期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date gDate;		//入库时间
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dCkRq;		//出库日期
    private Double fXsFpsl;	//销售税率
    private Double fCgFpSl;	//采购税率
    private Double fSumje;	//金额
    private Double fWsDj;	//未税单价
    private Double fWsJe;	//未税金额
    private Double fSe;		//税额
    private Double fDxMl;	//单项毛利
    private Double fHtzk;	//合同折扣
    private Double fHsMj;	//含税面价
    private Double fWsMj;	//未税面价
    private Double fKpSl;	//开票数量（回填字段，不进行插入和更新操作）
    private Double fKpSl2;	//开票保存数量（回填字段，不进行插入和更新操作）
    private Double fThSl;	//退货数量（回填字段，不进行插入和更新操作）
    private Double fThSl2;	//退货保存数量（回填字段，不进行插入和更新操作）

    private String vSjBh;	//商机编号
    private String pBPID;	//分销商BPID
    private String vTjHm;	//特价号码
    private String vTjMc;	//特价名称
    private Double fTjSl;	//特价数量
    private Double fTjSl2;	//特价保存数量
    private Double fTjZk;	//特价折扣
    private Double fTjDj;	//特价单价
    private Double fHsMjT;	//特价含税面价
    private Double fWsMjT;	//特价未税面价
    private Double fFdSl;	//返点数量
    private Double fFdSl2;	//返点保存数量
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dKsRqT;	//特价开始日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dJsRqT;	//特价结束日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date fixedDate;	//fixed val.date
    
    //虚拟字段
	private String kcCidName;//库存公司
    private String pcidName;//采购公司
    private String gDepotName;//存货仓库
    private String vKcLxName;//库存类型
    private String pUserName;//采购员
    private String pDeptName;//采购部门
    private String vXsLxName;//销售类型
    private String vFkFsName;//付款方式
    private String vFhFsName;//发货方式
    private String vFhWlName;//发货物流
    private Double fWkpSl;	//未开票数量
    private Double fWThSl;	//未退货数量 
    
	public Double getgPrice() {
		if (gPrice == null) {
			return 0.0;
		}
		return gPrice;
	}
	public void setgPrice(Double gPrice) {
		this.gPrice = gPrice;
	}
	public Double getfPrice() {
		if (fPrice == null) {
			return 0.0;
		}
		return fPrice;
	}
	public void setfPrice(Double fPrice) {
		this.fPrice = fPrice;
	}
	public String getPcid() {
		return pcid;
	}
	public void setPcid(String pcid) {
		this.pcid = pcid;
	}
	public String getgDepot() {
		return gDepot;
	}
	public void setgDepot(String gDepot) {
		this.gDepot = gDepot;
	}
	public String getHtGuid() {
		return htGuid;
	}
	public void setHtGuid(String htGuid) {
		this.htGuid = htGuid;
	}
	public String getHtBid() {
		return htBid;
	}
	public void setHtBid(String htBid) {
		this.htBid = htBid;
	}
	public String getCgGuid() {
		return cgGuid;
	}
	public void setCgGuid(String cgGuid) {
		this.cgGuid = cgGuid;
	}
	public String getCgBid() {
		return cgBid;
	}
	public void setCgBid(String cgBid) {
		this.cgBid = cgBid;
	}
	public String getGcGuid() {
		return gcGuid;
	}
	public void setGcGuid(String gcGuid) {
		this.gcGuid = gcGuid;
	}
	public String getGcBid() {
		return gcBid;
	}
	public void setGcBid(String gcBid) {
		this.gcBid = gcBid;
	}
	public String getRkGuid() {
		return rkGuid;
	}
	public void setRkGuid(String rkGuid) {
		this.rkGuid = rkGuid;
	}
	public String getRkBid() {
		return rkBid;
	}
	public void setRkBid(String rkBid) {
		this.rkBid = rkBid;
	}
	public String getvKcLx() {
		return vKcLx;
	}
	public void setvKcLx(String vKcLx) {
		this.vKcLx = vKcLx;
	}
	public String getpUser() {
		return pUser;
	}
	public void setpUser(String pUser) {
		this.pUser = pUser;
	}
	public String getpDept() {
		return pDept;
	}
	public void setpDept(String pDept) {
		this.pDept = pDept;
	}
	public String getgProvider() {
		return gProvider;
	}
	public void setgProvider(String gProvider) {
		this.gProvider = gProvider;
	}
	public String getgPName() {
		return gPName;
	}
	public void setgPName(String gPName) {
		this.gPName = gPName;
	}
	public Date getdDbRq() {
		return dDbRq;
	}
	public void setdDbRq(Date dDbRq) {
		this.dDbRq = dDbRq;
	}
	public Date getdDhRq() {
		return dDhRq;
	}
	public void setdDhRq(Date dDhRq) {
		this.dDhRq = dDhRq;
	}
	public String getvKhHth() {
		return vKhHth;
	}
	public void setvKhHth(String vKhHth) {
		this.vKhHth = vKhHth;
	}
	public String getvDdh() {
		return vDdh;
	}
	public void setvDdh(String vDdh) {
		this.vDdh = vDdh;
	}
	public String getbPID() {
		return bPID;
	}
	public void setbPID(String bPID) {
		this.bPID = bPID;
	}
	public String getvAddress() {
		return vAddress;
	}
	public void setvAddress(String vAddress) {
		this.vAddress = vAddress;
	}
	public String getvMan() {
		return vMan;
	}
	public void setvMan(String vMan) {
		this.vMan = vMan;
	}
	public String getvFax() {
		return vFax;
	}
	public void setvFax(String vFax) {
		this.vFax = vFax;
	}
	public String getvTel() {
		return vTel;
	}
	public void setvTel(String vTel) {
		this.vTel = vTel;
	}
	public String getvAddressM() {
		return vAddressM;
	}
	public void setvAddressM(String vAddressM) {
		this.vAddressM = vAddressM;
	}
	public String getvFkBz() {
		return vFkBz;
	}
	public void setvFkBz(String vFkBz) {
		this.vFkBz = vFkBz;
	}
	public String getvWlBz() {
		return vWlBz;
	}
	public void setvWlBz(String vWlBz) {
		this.vWlBz = vWlBz;
	}
	public String getvXsLx() {
		return vXsLx;
	}
	public void setvXsLx(String vXsLx) {
		this.vXsLx = vXsLx;
	}
	public String getvFkFs() {
		return vFkFs;
	}
	public void setvFkFs(String vFkFs) {
		this.vFkFs = vFkFs;
	}
	public String getvFhFs() {
		return vFhFs;
	}
	public void setvFhFs(String vFhFs) {
		this.vFhFs = vFhFs;
	}
	public String getvFhWl() {
		return vFhWl;
	}
	public void setvFhWl(String vFhWl) {
		this.vFhWl = vFhWl;
	}
	public String getvHyDh() {
		return vHyDh;
	}
	public void setvHyDh(String vHyDh) {
		this.vHyDh = vHyDh;
	}
	public Double getfHyJe() {
		if (fHyJe == null) {
			return 0.0;
		}
		return fHyJe;
	}
	public void setfHyJe(Double fHyJe) {
		this.fHyJe = fHyJe;
	}
	public Double getfHySl() {
		if (fHySl == null) {
			return 0.0;
		}
		return fHySl;
	}
	public void setfHySl(Double fHySl) {
		this.fHySl = fHySl;
	}
	public Double getfHyZl() {
		if (fHyZl == null) {
			return 0.0;
		}
		return fHyZl;
	}
	public void setfHyZl(Double fHyZl) {
		this.fHyZl = fHyZl;
	}
	public Double getfHyTj() {
		if (fHyTj == null) {
			return 0.0;
		}
		return fHyTj;
	}
	public void setfHyTj(Double fHyTj) {
		this.fHyTj = fHyTj;
	}
	public String getvKcSm() {
		return vKcSm;
	}
	public void setvKcSm(String vKcSm) {
		this.vKcSm = vKcSm;
	}
	public String getvHJ() {
		return vHJ;
	}
	public void setvHJ(String vHJ) {
		this.vHJ = vHJ;
	}
	public String getvRaZd() {
		return vRaZd;
	}
	public void setvRaZd(String vRaZd) {
		this.vRaZd = vRaZd;
	}
	public String getvRaXth() {
		return vRaXth;
	}
	public void setvRaXth(String vRaXth) {
		this.vRaXth = vRaXth;
	}
	public String getvRaXs() {
		return vRaXs;
	}
	public void setvRaXs(String vRaXs) {
		this.vRaXs = vRaXs;
	}
	public Date getdHthq() {
		return dHthq;
	}
	public void setdHthq(Date dHthq) {
		this.dHthq = dHthq;
	}
	public String getvHthq() {
		return vHthq;
	}
	public void setvHthq(String vHthq) {
		this.vHthq = vHthq;
	}
	public Date getgDate() {
		return gDate;
	}
	public void setgDate(Date gDate) {
		this.gDate = gDate;
	}
	public Date getdCkRq() {
		return dCkRq;
	}
	public void setdCkRq(Date dCkRq) {
		this.dCkRq = dCkRq;
	}
	public Double getfXsFpsl() {
		if (fXsFpsl == null) {
			return 0.0;
		}
		return fXsFpsl;
	}
	public void setfXsFpsl(Double fXsFpsl) {
		this.fXsFpsl = fXsFpsl;
	}
	public Double getfCgFpSl() {
		if (fCgFpSl == null) {
			return 0.0;
		}
		return fCgFpSl;
	}
	public void setfCgFpSl(Double fCgFpSl) {
		this.fCgFpSl = fCgFpSl;
	}
	public Double getfSumje() {
		if (fSumje == null) {
			return 0.0;
		}
		return fSumje;
	}
	public void setfSumje(Double fSumje) {
		this.fSumje = fSumje;
	}
	public Double getfWsDj() {
		if (fWsDj == null) {
			return 0.0;
		}
		return fWsDj;
	}
	public void setfWsDj(Double fWsDj) {
		this.fWsDj = fWsDj;
	}
	public Double getfWsJe() {
		if (fWsJe == null) {
			return 0.0;
		}
		return fWsJe;
	}
	public void setfWsJe(Double fWsJe) {
		this.fWsJe = fWsJe;
	}
	public Double getfSe() {
		if (fSe == null) {
			return 0.0;
		}
		return fSe;
	}
	public void setfSe(Double fSe) {
		this.fSe = fSe;
	}
	public Double getfDxMl() {
		if (fDxMl == null) {
			return 0.0;
		}
		return fDxMl;
	}
	public void setfDxMl(Double fDxMl) {
		this.fDxMl = fDxMl;
	}
	public Double getfHtzk() {
		if (fHtzk == null) {
			return 0.0;
		}
		return fHtzk;
	}
	public void setfHtzk(Double fHtzk) {
		this.fHtzk = fHtzk;
	}
	public Double getfHsMj() {
		if (fHsMj == null) {
			return 0.0;
		}
		return fHsMj;
	}
	public void setfHsMj(Double fHsMj) {
		this.fHsMj = fHsMj;
	}
	public Double getfWsMj() {
		if (fWsMj == null) {
			return 0.0;
		}
		return fWsMj;
	}
	public void setfWsMj(Double fWsMj) {
		this.fWsMj = fWsMj;
	}
	public Double getfKpSl() {
		if (fKpSl == null) {
			return 0.0;
		}
		return fKpSl;
	}
	public void setfKpSl(Double fKpSl) {
		this.fKpSl = fKpSl;
	}
	public Double getfKpSl2() {
		if (fKpSl2 == null) {
			return 0.0;
		}
		return fKpSl2;
	}
	public void setfKpSl2(Double fKpSl2) {
		this.fKpSl2 = fKpSl2;
	}
	public Double getfThSl() {
		if (fThSl == null) {
			return 0.0;
		}
		return fThSl;
	}
	public void setfThSl(Double fThSl) {
		this.fThSl = fThSl;
	}
	public Double getfThSl2() {
		if (fThSl2 == null) {
			return 0.0;
		}
		return fThSl2;
	}
	public void setfThSl2(Double fThSl2) {
		this.fThSl2 = fThSl2;
	}
	public String getvSjBh() {
		return vSjBh;
	}
	public void setvSjBh(String vSjBh) {
		this.vSjBh = vSjBh;
	}
	public String getpBPID() {
		return pBPID;
	}
	public void setpBPID(String pBPID) {
		this.pBPID = pBPID;
	}
	public String getvTjHm() {
		return vTjHm;
	}
	public void setvTjHm(String vTjHm) {
		this.vTjHm = vTjHm;
	}
	public String getvTjMc() {
		return vTjMc;
	}
	public void setvTjMc(String vTjMc) {
		this.vTjMc = vTjMc;
	}
	public Double getfTjSl() {
		if (fTjSl == null) {
			return 0.0;
		}
		return fTjSl;
	}
	public void setfTjSl(Double fTjSl) {
		this.fTjSl = fTjSl;
	}
	public Double getfTjSl2() {
		if (fTjSl2 == null) {
			return 0.0;
		}
		return fTjSl2;
	}
	public void setfTjSl2(Double fTjSl2) {
		this.fTjSl2 = fTjSl2;
	}
	public Double getfTjZk() {
		if (fTjZk == null) {
			return 0.0;
		}
		return fTjZk;
	}
	public void setfTjZk(Double fTjZk) {
		this.fTjZk = fTjZk;
	}
	public Double getfTjDj() {
		if (fTjDj == null) {
			return 0.0;
		}
		return fTjDj;
	}
	public void setfTjDj(Double fTjDj) {
		this.fTjDj = fTjDj;
	}
	public Double getfHsMjT() {
		if (fHsMjT == null) {
			return 0.0;
		}
		return fHsMjT;
	}
	public void setfHsMjT(Double fHsMjT) {
		this.fHsMjT = fHsMjT;
	}
	public Double getfWsMjT() {
		if (fWsMjT == null) {
			return 0.0;
		}
		return fWsMjT;
	}
	public void setfWsMjT(Double fWsMjT) {
		this.fWsMjT = fWsMjT;
	}
	public Double getfFdSl() {
		if (fFdSl == null) {
			return 0.0;
		}
		return fFdSl;
	}
	public void setfFdSl(Double fFdSl) {
		this.fFdSl = fFdSl;
	}
	public Double getfFdSl2() {
		if (fFdSl2 == null) {
			return 0.0;
		}
		return fFdSl2;
	}
	public void setfFdSl2(Double fFdSl2) {
		this.fFdSl2 = fFdSl2;
	}
	public Date getdKsRqT() {
		return dKsRqT;
	}
	public void setdKsRqT(Date dKsRqT) {
		this.dKsRqT = dKsRqT;
	}
	public Date getdJsRqT() {
		return dJsRqT;
	}
	public void setdJsRqT(Date dJsRqT) {
		this.dJsRqT = dJsRqT;
	}
	public Date getFixedDate() {
		return fixedDate;
	}
	public void setFixedDate(Date fixedDate) {
		this.fixedDate = fixedDate;
	}
	public String getPcidName() {
		return pcidName;
	}
	public void setPcidName(String pcidName) {
		this.pcidName = pcidName;
	}
	public String getgDepotName() {
		return gDepotName;
	}
	public void setgDepotName(String gDepotName) {
		this.gDepotName = gDepotName;
	}
	public String getvKcLxName() {
		return vKcLxName;
	}
	public void setvKcLxName(String vKcLxName) {
		this.vKcLxName = vKcLxName;
	}
	public String getpUserName() {
		return pUserName;
	}
	public void setpUserName(String pUserName) {
		this.pUserName = pUserName;
	}
	public String getpDeptName() {
		return pDeptName;
	}
	public void setpDeptName(String pDeptName) {
		this.pDeptName = pDeptName;
	}
	public String getvXsLxName() {
		return vXsLxName;
	}
	public void setvXsLxName(String vXsLxName) {
		this.vXsLxName = vXsLxName;
	}
	public String getvFkFsName() {
		return vFkFsName;
	}
	public void setvFkFsName(String vFkFsName) {
		this.vFkFsName = vFkFsName;
	}
	public String getvFhFsName() {
		return vFhFsName;
	}
	public void setvFhFsName(String vFhFsName) {
		this.vFhFsName = vFhFsName;
	}
	public String getvFhWlName() {
		return vFhWlName;
	}
	public void setvFhWlName(String vFhWlName) {
		this.vFhWlName = vFhWlName;
	}
	public Double getfWkpSl() {
		return fWkpSl;
	}
	public void setfWkpSl(Double fWkpSl) {
		this.fWkpSl = fWkpSl;
	}
	public Double getfWThSl() {
		return fWThSl;
	}
	public void setfWThSl(Double fWThSl) {
		this.fWThSl = fWThSl;
	}
	public String getKcCid() {
		return kcCid;
	}
	public void setKcCid(String kcCid) {
		this.kcCid = kcCid;
	}
	public String getKcCidName() {
		return kcCidName;
	}
	public void setKcCidName(String kcCidName) {
		this.kcCidName = kcCidName;
	}
    
}
